package com.k3cloud.service.impl;


import com.k3cloud.base.dto.PurchaseDiffDTO;
import com.k3cloud.mapper.ErpPurchaseDiffMapper;
import com.k3cloud.service.ErpPurchaseDiffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ErpPurchaseDiffServiceImpl implements ErpPurchaseDiffService {
    @Autowired
    ErpPurchaseDiffMapper erpPurchaseDiffMapper;

    @Override
    public PurchaseDiffDTO getPurchaseDiff(PurchaseDiffDTO purchaseDiffDTO) {
        return erpPurchaseDiffMapper.getPurchaseDiff(purchaseDiffDTO);
    }

    @Override
    public int updatePurchaseDiff(PurchaseDiffDTO purchaseDiffDTO) {
        return erpPurchaseDiffMapper.updatePurchaseDiff(purchaseDiffDTO);
    }

    @Override
    public int insertPurchaseDiff(PurchaseDiffDTO purchaseDiffDTO) {
        return erpPurchaseDiffMapper.insertPurchaseDiff(purchaseDiffDTO);
    }
}
